#!/usr/bin/env bash

ps -ef | grep java | grep 8081 |awk '{print $2}'|xargs kill -9

sleep 2s;

java -Dserver.port=8081 -Dspring.cloud.sentinel.datasource.ds.file.file=/home/shell/flowcontrol.json -jar ~/alibaba-sentinel/target/flowcontrol.jar